/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataAccess.session;


//import javax.ejb.Stateless;
import DataAccess.entity.Categoria;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Domenico
 */
//@Stateless
public class CategoriaFacade extends AbstractFacade<Categoria> {
    @PersistenceContext(unitName = "ProgettoDe_COPU")
    private EntityManager em;

    //@Override
    //protected EntityManager getEntityManager() {
    //    return em;
    //}

    public CategoriaFacade() {
        super(Categoria.class);
    }
    
}
